package c.e.a.a.f;

import android.content.Context;
import c.e.a.a.f.p.e;
import c.e.a.a.f.p.h.l;
import c.e.a.a.f.p.h.n;
import c.e.a.a.f.p.h.p;
import c.e.a.a.f.r.a;
import java.util.Objects;

/* compiled from: TransportRuntime */
public class k implements j {
    public static volatile l e;
    public final a a;
    public final a b;
    public final e c;
    public final l d;

    public k(a aVar, a aVar2, e eVar, l lVar, p pVar) {
        this.a = aVar;
        this.b = aVar2;
        this.c = eVar;
        this.d = lVar;
        pVar.a.execute(new n(pVar));
    }

    public static k a() {
        l lVar = e;
        if (lVar != null) {
            return (k) ((c) lVar).l.get();
        }
        throw new IllegalStateException("Not initialized!");
    }

    public static void b(Context context) {
        if (e == null) {
            synchronized (k.class) {
                if (e == null) {
                    Objects.requireNonNull(context);
                    Class cls = Context.class;
                    e = new c(context, null);
                }
            }
        }
    }
}
